package cn.com.spic.demo.api;


import cn.com.spic.demo.constants.AppInfoConstant;
import cn.com.spic.demo.dto.*;
import com.yonyou.cloud.middleware.rpc.RemoteCall;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 九大专项-行动项明细Service
 */
@RemoteCall(AppInfoConstant.APP_INF_PROVIDER)
public interface ActionProjectService {

    int updSpicNameAndSecName(Map<String, String> map);

    List<ActionProejctDTO> getActionProDtos(String id);

    List<ActionProejctDTO> getAllAction();

    List<ActionProejctDTO> getActionProDtosByNineId(String id);

    List<ActionProejctDTO> getActionDetailByParentId(String parentId);

    Long getCountByActionId(String actionId);

    Long getCountBySpecialId(String specialId);

    //        ActionProejctDTO save(ActionProejctDTO contract);
//        int deleteById(String id);
    List<ActionProejctDTO> getActionProByUser(Map<String, Object> map);

    List<ActionProejctDTO> getActionProInIds(String[] ids);

    List<ActionProejctDTO> getEJDWActionProByUser(Map<String, Object> map);

    List<ActionProejctDTO> getActionDetailAndLevelList(String parentActionId, String level);

    int countByExample(String specialId, String level);

    List<ActionProejctDTO> selectActionByAnyCondition(MoreActionProjectExample example);

    List<ActionProejctDTO> selectActionByOrCondition(Map<String, Object> map);

    List<SpecialComRateDTO> selectSpecialComRate(String specialId);

    List<SpecialCountDTO> getEverySpecilCount();

    List<SpecialCountDTO> getEveryNOCount();

    List<ThreeActionDTO> getThreeAction(String level);

    List<AllThreeAndFourActionDTO> allThreeAndFourAction(Map<String, Object> map);

    List<AllThreeAndFourActionDTO> allLJThreeAndFourAction(Map<String, Object> map);

    List<SecGroupWorkComDTO> secGroupWorkExecution(Map<String, Object> map);

    SecGroupMaxMinAndAllDTO getSecGroupMaxMinAndAll(String level);

    List<String> getAllSecGroupCode();

    List<DeptAndOrgActionDTO> getdeptAndOrgAction(Map<String, String> map);

    int updateByExampleSelective(ActionProejctDTO actionProejctDTO);

    List<ExportExcelDTO> exportExcelLists(Map<String, String> map);

    String getGroupConcatSpecialName(String actionId);

}
